package com.origin.src.mybatis;

import com.origin.src.XBeanA;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

import java.util.Arrays;

//@Import({DepB.class})
public class XMyBatis implements ImportSelector {

    @Autowired
    XBeanA XBeanA;

    public static void main(String[] args) {
        int[] ints = new int[3];

        System.out.println(Arrays.toString(ints));
    }

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        System.out.println(importingClassMetadata.getClassName());
        return new String[0];
    }
}
